/*
 * Copyright 2010 Stefan Eder
 * 
 *     This file is part of MockByNode.
 *     
 *     MockByNode is free software: you can redistribute it and/or modify
 *     it under the terms of the GNU LGPL as published by he Free Software 
 *     Foundation, either version 3 of the License, or (at your option) any 
 *     later version.
 *     
 *     MockByNode is distributed in the hope that it will be useful,
 *     but WITHOUT ANY WARRANTY; without even the implied warranty of
 *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *     GNU General Public License for more details.
 *     
 *     You should have received a copy of the GNU General Public License
 *     along with MockByNode.  If not, see <http://www.gnu.org/licenses/>.
 */
package de.sae.mockbynode;

public interface IMockByNodeTypeAdapter {
	/**
	 * Ermittelt Wert aus XML-Knoten wenn ein Typadapter erforderlich ist
	 * @param returnType
	 * @param innerNode
	 * @return
	 */
	<T> T adapt(Class<T> returnType, Object node);
}